<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,height=device-width initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>个人中心</title>
		<link rel="stylesheet" href="../../page/shuguang/css/personal.css" />
	</head>
	<body>
		
		<div class="wrap">
			<div class="titleWrap">
				<span><a href="../shuguang/redirectToIndex.do"><img src="../../page/shuguang/img/back-icon-.png" height="24"/></a></span>
				<p>个人中心</p>
			</div>
			
			<div class="content">
				<ul class="contentList">
					<!--<li>
						<a href="../../page/shuguang/personalContent.html">
						<div class="clear">
							<p><img src="../../page/shuguang/img/eidticon.png"/><span>问卷1</span></p>
							<p><span>2017-11-15</span><img src="../../page/shuguang/img/down-icon.png"/></p>
						</div>
						</a>
					</li>
					
					<li>
						<a href="../../page/shuguang/personalContent.html">
						<div class="clear">
							<p><img src="../../page/shuguang/img/eidticon.png"/><span>问卷1</span></p>
							<p><span>2017-11-15</span><img src="../../page/shuguang/img/down-icon.png"/></p>
						</div>
						</a>
					</li>-->
					
				</ul>
			</div>
			
			
		</div>


		<script src="../../page/shuguang/js/jquery.min.js"></script>
		<script src="../../page/shuguang/js/page.js"></script>
		<script>
			$.ajax({
				type: "post",
				url: "../shuguang/getOneUserQuestionList.do",
				dataType: "json",
				success: function(data){
					console.log(data);
					var list = data.result.list;
					for (var i=0;i<list.length;i++){
						var li = '<li>'+
								'<a href="../shuguang/getResultList.do?quid='+list[i].id+'">'+
								'<div class="clear">'+
								'<p><img src="../../page/shuguang/img/eidticon.png"/><span>'+list[i].questionName+'</span></p>'+
								'<p><span>'+list[i].createTime+'</span><img src="../../page/shuguang/img/down-icon.png"/></p>'+
								'</div>'+
								'</a>'+
								'</li>';
						$(".contentList").append(li);
					}

				}
			});
		</script>

		
	</body>
</html>
